package com.duoec.doc.entity;

/**
 * @author xuwenzhen
 * @date 2020/1/31
 */
public class MockConfig {
    /**
     * 主键
     */
    private String id;

    /**
     * 标题
     */
    private String title;

    /**
     * 文档ID
     */
    private String docId;

    /**
     * 接口ID
     */
    private String apiId;

    /**
     * mock条件
     */
    private MockRestCondition restCondition;

    /**
     * Mock响应类型：0=使用mock配置 1=直接使用json响应 默认：0
     */
    private Integer responseType;

    /**
     * mock响应配置
     */
    private MockConfigItem response;

    /**
     * 直接json响应
     */
    private String jsonResponse;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public String getApiId() {
        return apiId;
    }

    public void setApiId(String apiId) {
        this.apiId = apiId;
    }

    public MockRestCondition getRestCondition() {
        return restCondition;
    }

    public void setRestCondition(MockRestCondition restCondition) {
        this.restCondition = restCondition;
    }

    public MockConfigItem getResponse() {
        return response;
    }

    public void setResponse(MockConfigItem response) {
        this.response = response;
    }

    public String getJsonResponse() {
        return jsonResponse;
    }

    public void setJsonResponse(String jsonResponse) {
        this.jsonResponse = jsonResponse;
    }

    public Integer getResponseType() {
        return responseType;
    }

    public void setResponseType(Integer responseType) {
        this.responseType = responseType;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
}
